package fragments;

import com.androidmodule.onthego.R;

import extras.Fonts;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

public class FragmentSinReserva extends Fragment{
	
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		return inflater.inflate(R.layout.layout_display,
				container, false);
	}
	
	public void onActivityCreated(Bundle savedInstanceState)
	{
	     super.onActivityCreated(savedInstanceState);
	     TextView descripcion = (TextView)  getActivity().findViewById(R.id.lblDisplay);
	     descripcion.setTypeface(Fonts.mvboli(getActivity().getApplicationContext()));
	     descripcion.setText(getActivity().getString(R.string.etiqueta_display_reservas_vacia));
	     ImageView imagen = (ImageView) getActivity().findViewById(R.id.imgDisplay);
	     imagen.setBackgroundDrawable(getResources().getDrawable(R.drawable.imagen_centro_invalido));
	}

}
